use "$dataDir/dataset_admin_field", replace

	local depvar "sug_manual_cut sug_mecanic_cut tech_total_cutters"
	local indepvar "treatment"
	local cluslvl "id_mills"

foreach vd in `depvar' {
		foreach vi in `indepvar'{
	reghdfe `vd' `vi'X2012 `vi'X2013 `vi'X2015 `vi'X2016 `vi'X2017  `vi'X2014, abs(id_mills i.year#i.month) vce(cluster `cluslvl')
		local vtext : variable label `vd'
				if `"`vtext'"' == "" local vtext "`vd'"
coefplot, keep(`vi'X2012 `vi'X2013 `vi'X2014 `vi'X2015 `vi'X2016 `vi'X2017) vertical  yline(0, lcolor(black)) graphregion(color(white)) omitted order(`vi'X2012 `vi'X2013 `vi'X2014 `vi'X2015 `vi'X2016 `vi'X2017) ciopts(recast(rcap) color(sea)) recast(connected) color(sea)  ytitle(Difference regulated and unregulated facilities, size(small)) level(95)
			graph export "$mainDir/figures/Fig3_eventstudy_inputs_`vd'.pdf", as(pdf) replace
}
}		

